package com.niit.ai.dl.dltrain.dao.model;

import java.util.Date;

public class Model {
    private Integer id;
    private String name;
    private Integer modelType;
    private String filePath;
    private String comment;
    private Date createTime;
    private Date updateTime;

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getModelType() {
        return modelType;
    }

    public void setModelType(Integer modelType) {
        this.modelType = modelType;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Model{");
        sb.append("id=").append(id);
        sb.append(", name='").append(name).append('\'');
        sb.append(", modelType='").append(modelType).append('\'');
        sb.append(", filePath='").append(filePath).append('\'');
        sb.append(", comment='").append(comment).append('\'');
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append('}');
        return sb.toString();
    }

}
